package com.guoq.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class ShopLicenseExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public ShopLicenseExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andShopIdIsNull() {
            addCriterion("shop_id is null");
            return (Criteria) this;
        }

        public Criteria andShopIdIsNotNull() {
            addCriterion("shop_id is not null");
            return (Criteria) this;
        }

        public Criteria andShopIdEqualTo(Integer value) {
            addCriterion("shop_id =", value, "shopId");
            return (Criteria) this;
        }

        public Criteria andShopIdNotEqualTo(Integer value) {
            addCriterion("shop_id <>", value, "shopId");
            return (Criteria) this;
        }

        public Criteria andShopIdGreaterThan(Integer value) {
            addCriterion("shop_id >", value, "shopId");
            return (Criteria) this;
        }

        public Criteria andShopIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("shop_id >=", value, "shopId");
            return (Criteria) this;
        }

        public Criteria andShopIdLessThan(Integer value) {
            addCriterion("shop_id <", value, "shopId");
            return (Criteria) this;
        }

        public Criteria andShopIdLessThanOrEqualTo(Integer value) {
            addCriterion("shop_id <=", value, "shopId");
            return (Criteria) this;
        }

        public Criteria andShopIdIn(List<Integer> values) {
            addCriterion("shop_id in", values, "shopId");
            return (Criteria) this;
        }

        public Criteria andShopIdNotIn(List<Integer> values) {
            addCriterion("shop_id not in", values, "shopId");
            return (Criteria) this;
        }

        public Criteria andShopIdBetween(Integer value1, Integer value2) {
            addCriterion("shop_id between", value1, value2, "shopId");
            return (Criteria) this;
        }

        public Criteria andShopIdNotBetween(Integer value1, Integer value2) {
            addCriterion("shop_id not between", value1, value2, "shopId");
            return (Criteria) this;
        }

        public Criteria andIdacrdNameIsNull() {
            addCriterion("idacrd_name is null");
            return (Criteria) this;
        }

        public Criteria andIdacrdNameIsNotNull() {
            addCriterion("idacrd_name is not null");
            return (Criteria) this;
        }

        public Criteria andIdacrdNameEqualTo(String value) {
            addCriterion("idacrd_name =", value, "idacrdName");
            return (Criteria) this;
        }

        public Criteria andIdacrdNameNotEqualTo(String value) {
            addCriterion("idacrd_name <>", value, "idacrdName");
            return (Criteria) this;
        }

        public Criteria andIdacrdNameGreaterThan(String value) {
            addCriterion("idacrd_name >", value, "idacrdName");
            return (Criteria) this;
        }

        public Criteria andIdacrdNameGreaterThanOrEqualTo(String value) {
            addCriterion("idacrd_name >=", value, "idacrdName");
            return (Criteria) this;
        }

        public Criteria andIdacrdNameLessThan(String value) {
            addCriterion("idacrd_name <", value, "idacrdName");
            return (Criteria) this;
        }

        public Criteria andIdacrdNameLessThanOrEqualTo(String value) {
            addCriterion("idacrd_name <=", value, "idacrdName");
            return (Criteria) this;
        }

        public Criteria andIdacrdNameLike(String value) {
            addCriterion("idacrd_name like", value, "idacrdName");
            return (Criteria) this;
        }

        public Criteria andIdacrdNameNotLike(String value) {
            addCriterion("idacrd_name not like", value, "idacrdName");
            return (Criteria) this;
        }

        public Criteria andIdacrdNameIn(List<String> values) {
            addCriterion("idacrd_name in", values, "idacrdName");
            return (Criteria) this;
        }

        public Criteria andIdacrdNameNotIn(List<String> values) {
            addCriterion("idacrd_name not in", values, "idacrdName");
            return (Criteria) this;
        }

        public Criteria andIdacrdNameBetween(String value1, String value2) {
            addCriterion("idacrd_name between", value1, value2, "idacrdName");
            return (Criteria) this;
        }

        public Criteria andIdacrdNameNotBetween(String value1, String value2) {
            addCriterion("idacrd_name not between", value1, value2, "idacrdName");
            return (Criteria) this;
        }

        public Criteria andIdcardNumIsNull() {
            addCriterion("idcard_num is null");
            return (Criteria) this;
        }

        public Criteria andIdcardNumIsNotNull() {
            addCriterion("idcard_num is not null");
            return (Criteria) this;
        }

        public Criteria andIdcardNumEqualTo(String value) {
            addCriterion("idcard_num =", value, "idcardNum");
            return (Criteria) this;
        }

        public Criteria andIdcardNumNotEqualTo(String value) {
            addCriterion("idcard_num <>", value, "idcardNum");
            return (Criteria) this;
        }

        public Criteria andIdcardNumGreaterThan(String value) {
            addCriterion("idcard_num >", value, "idcardNum");
            return (Criteria) this;
        }

        public Criteria andIdcardNumGreaterThanOrEqualTo(String value) {
            addCriterion("idcard_num >=", value, "idcardNum");
            return (Criteria) this;
        }

        public Criteria andIdcardNumLessThan(String value) {
            addCriterion("idcard_num <", value, "idcardNum");
            return (Criteria) this;
        }

        public Criteria andIdcardNumLessThanOrEqualTo(String value) {
            addCriterion("idcard_num <=", value, "idcardNum");
            return (Criteria) this;
        }

        public Criteria andIdcardNumLike(String value) {
            addCriterion("idcard_num like", value, "idcardNum");
            return (Criteria) this;
        }

        public Criteria andIdcardNumNotLike(String value) {
            addCriterion("idcard_num not like", value, "idcardNum");
            return (Criteria) this;
        }

        public Criteria andIdcardNumIn(List<String> values) {
            addCriterion("idcard_num in", values, "idcardNum");
            return (Criteria) this;
        }

        public Criteria andIdcardNumNotIn(List<String> values) {
            addCriterion("idcard_num not in", values, "idcardNum");
            return (Criteria) this;
        }

        public Criteria andIdcardNumBetween(String value1, String value2) {
            addCriterion("idcard_num between", value1, value2, "idcardNum");
            return (Criteria) this;
        }

        public Criteria andIdcardNumNotBetween(String value1, String value2) {
            addCriterion("idcard_num not between", value1, value2, "idcardNum");
            return (Criteria) this;
        }

        public Criteria andIdcardImgIsNull() {
            addCriterion("idcard_img is null");
            return (Criteria) this;
        }

        public Criteria andIdcardImgIsNotNull() {
            addCriterion("idcard_img is not null");
            return (Criteria) this;
        }

        public Criteria andIdcardImgEqualTo(String value) {
            addCriterion("idcard_img =", value, "idcardImg");
            return (Criteria) this;
        }

        public Criteria andIdcardImgNotEqualTo(String value) {
            addCriterion("idcard_img <>", value, "idcardImg");
            return (Criteria) this;
        }

        public Criteria andIdcardImgGreaterThan(String value) {
            addCriterion("idcard_img >", value, "idcardImg");
            return (Criteria) this;
        }

        public Criteria andIdcardImgGreaterThanOrEqualTo(String value) {
            addCriterion("idcard_img >=", value, "idcardImg");
            return (Criteria) this;
        }

        public Criteria andIdcardImgLessThan(String value) {
            addCriterion("idcard_img <", value, "idcardImg");
            return (Criteria) this;
        }

        public Criteria andIdcardImgLessThanOrEqualTo(String value) {
            addCriterion("idcard_img <=", value, "idcardImg");
            return (Criteria) this;
        }

        public Criteria andIdcardImgLike(String value) {
            addCriterion("idcard_img like", value, "idcardImg");
            return (Criteria) this;
        }

        public Criteria andIdcardImgNotLike(String value) {
            addCriterion("idcard_img not like", value, "idcardImg");
            return (Criteria) this;
        }

        public Criteria andIdcardImgIn(List<String> values) {
            addCriterion("idcard_img in", values, "idcardImg");
            return (Criteria) this;
        }

        public Criteria andIdcardImgNotIn(List<String> values) {
            addCriterion("idcard_img not in", values, "idcardImg");
            return (Criteria) this;
        }

        public Criteria andIdcardImgBetween(String value1, String value2) {
            addCriterion("idcard_img between", value1, value2, "idcardImg");
            return (Criteria) this;
        }

        public Criteria andIdcardImgNotBetween(String value1, String value2) {
            addCriterion("idcard_img not between", value1, value2, "idcardImg");
            return (Criteria) this;
        }

        public Criteria andBusinessImgIsNull() {
            addCriterion("business_img is null");
            return (Criteria) this;
        }

        public Criteria andBusinessImgIsNotNull() {
            addCriterion("business_img is not null");
            return (Criteria) this;
        }

        public Criteria andBusinessImgEqualTo(String value) {
            addCriterion("business_img =", value, "businessImg");
            return (Criteria) this;
        }

        public Criteria andBusinessImgNotEqualTo(String value) {
            addCriterion("business_img <>", value, "businessImg");
            return (Criteria) this;
        }

        public Criteria andBusinessImgGreaterThan(String value) {
            addCriterion("business_img >", value, "businessImg");
            return (Criteria) this;
        }

        public Criteria andBusinessImgGreaterThanOrEqualTo(String value) {
            addCriterion("business_img >=", value, "businessImg");
            return (Criteria) this;
        }

        public Criteria andBusinessImgLessThan(String value) {
            addCriterion("business_img <", value, "businessImg");
            return (Criteria) this;
        }

        public Criteria andBusinessImgLessThanOrEqualTo(String value) {
            addCriterion("business_img <=", value, "businessImg");
            return (Criteria) this;
        }

        public Criteria andBusinessImgLike(String value) {
            addCriterion("business_img like", value, "businessImg");
            return (Criteria) this;
        }

        public Criteria andBusinessImgNotLike(String value) {
            addCriterion("business_img not like", value, "businessImg");
            return (Criteria) this;
        }

        public Criteria andBusinessImgIn(List<String> values) {
            addCriterion("business_img in", values, "businessImg");
            return (Criteria) this;
        }

        public Criteria andBusinessImgNotIn(List<String> values) {
            addCriterion("business_img not in", values, "businessImg");
            return (Criteria) this;
        }

        public Criteria andBusinessImgBetween(String value1, String value2) {
            addCriterion("business_img between", value1, value2, "businessImg");
            return (Criteria) this;
        }

        public Criteria andBusinessImgNotBetween(String value1, String value2) {
            addCriterion("business_img not between", value1, value2, "businessImg");
            return (Criteria) this;
        }

        public Criteria andBusinessNumIsNull() {
            addCriterion("business_num is null");
            return (Criteria) this;
        }

        public Criteria andBusinessNumIsNotNull() {
            addCriterion("business_num is not null");
            return (Criteria) this;
        }

        public Criteria andBusinessNumEqualTo(String value) {
            addCriterion("business_num =", value, "businessNum");
            return (Criteria) this;
        }

        public Criteria andBusinessNumNotEqualTo(String value) {
            addCriterion("business_num <>", value, "businessNum");
            return (Criteria) this;
        }

        public Criteria andBusinessNumGreaterThan(String value) {
            addCriterion("business_num >", value, "businessNum");
            return (Criteria) this;
        }

        public Criteria andBusinessNumGreaterThanOrEqualTo(String value) {
            addCriterion("business_num >=", value, "businessNum");
            return (Criteria) this;
        }

        public Criteria andBusinessNumLessThan(String value) {
            addCriterion("business_num <", value, "businessNum");
            return (Criteria) this;
        }

        public Criteria andBusinessNumLessThanOrEqualTo(String value) {
            addCriterion("business_num <=", value, "businessNum");
            return (Criteria) this;
        }

        public Criteria andBusinessNumLike(String value) {
            addCriterion("business_num like", value, "businessNum");
            return (Criteria) this;
        }

        public Criteria andBusinessNumNotLike(String value) {
            addCriterion("business_num not like", value, "businessNum");
            return (Criteria) this;
        }

        public Criteria andBusinessNumIn(List<String> values) {
            addCriterion("business_num in", values, "businessNum");
            return (Criteria) this;
        }

        public Criteria andBusinessNumNotIn(List<String> values) {
            addCriterion("business_num not in", values, "businessNum");
            return (Criteria) this;
        }

        public Criteria andBusinessNumBetween(String value1, String value2) {
            addCriterion("business_num between", value1, value2, "businessNum");
            return (Criteria) this;
        }

        public Criteria andBusinessNumNotBetween(String value1, String value2) {
            addCriterion("business_num not between", value1, value2, "businessNum");
            return (Criteria) this;
        }

        public Criteria andBusinessNameIsNull() {
            addCriterion("business_name is null");
            return (Criteria) this;
        }

        public Criteria andBusinessNameIsNotNull() {
            addCriterion("business_name is not null");
            return (Criteria) this;
        }

        public Criteria andBusinessNameEqualTo(String value) {
            addCriterion("business_name =", value, "businessName");
            return (Criteria) this;
        }

        public Criteria andBusinessNameNotEqualTo(String value) {
            addCriterion("business_name <>", value, "businessName");
            return (Criteria) this;
        }

        public Criteria andBusinessNameGreaterThan(String value) {
            addCriterion("business_name >", value, "businessName");
            return (Criteria) this;
        }

        public Criteria andBusinessNameGreaterThanOrEqualTo(String value) {
            addCriterion("business_name >=", value, "businessName");
            return (Criteria) this;
        }

        public Criteria andBusinessNameLessThan(String value) {
            addCriterion("business_name <", value, "businessName");
            return (Criteria) this;
        }

        public Criteria andBusinessNameLessThanOrEqualTo(String value) {
            addCriterion("business_name <=", value, "businessName");
            return (Criteria) this;
        }

        public Criteria andBusinessNameLike(String value) {
            addCriterion("business_name like", value, "businessName");
            return (Criteria) this;
        }

        public Criteria andBusinessNameNotLike(String value) {
            addCriterion("business_name not like", value, "businessName");
            return (Criteria) this;
        }

        public Criteria andBusinessNameIn(List<String> values) {
            addCriterion("business_name in", values, "businessName");
            return (Criteria) this;
        }

        public Criteria andBusinessNameNotIn(List<String> values) {
            addCriterion("business_name not in", values, "businessName");
            return (Criteria) this;
        }

        public Criteria andBusinessNameBetween(String value1, String value2) {
            addCriterion("business_name between", value1, value2, "businessName");
            return (Criteria) this;
        }

        public Criteria andBusinessNameNotBetween(String value1, String value2) {
            addCriterion("business_name not between", value1, value2, "businessName");
            return (Criteria) this;
        }

        public Criteria andBusinessAddressIsNull() {
            addCriterion("business_address is null");
            return (Criteria) this;
        }

        public Criteria andBusinessAddressIsNotNull() {
            addCriterion("business_address is not null");
            return (Criteria) this;
        }

        public Criteria andBusinessAddressEqualTo(String value) {
            addCriterion("business_address =", value, "businessAddress");
            return (Criteria) this;
        }

        public Criteria andBusinessAddressNotEqualTo(String value) {
            addCriterion("business_address <>", value, "businessAddress");
            return (Criteria) this;
        }

        public Criteria andBusinessAddressGreaterThan(String value) {
            addCriterion("business_address >", value, "businessAddress");
            return (Criteria) this;
        }

        public Criteria andBusinessAddressGreaterThanOrEqualTo(String value) {
            addCriterion("business_address >=", value, "businessAddress");
            return (Criteria) this;
        }

        public Criteria andBusinessAddressLessThan(String value) {
            addCriterion("business_address <", value, "businessAddress");
            return (Criteria) this;
        }

        public Criteria andBusinessAddressLessThanOrEqualTo(String value) {
            addCriterion("business_address <=", value, "businessAddress");
            return (Criteria) this;
        }

        public Criteria andBusinessAddressLike(String value) {
            addCriterion("business_address like", value, "businessAddress");
            return (Criteria) this;
        }

        public Criteria andBusinessAddressNotLike(String value) {
            addCriterion("business_address not like", value, "businessAddress");
            return (Criteria) this;
        }

        public Criteria andBusinessAddressIn(List<String> values) {
            addCriterion("business_address in", values, "businessAddress");
            return (Criteria) this;
        }

        public Criteria andBusinessAddressNotIn(List<String> values) {
            addCriterion("business_address not in", values, "businessAddress");
            return (Criteria) this;
        }

        public Criteria andBusinessAddressBetween(String value1, String value2) {
            addCriterion("business_address between", value1, value2, "businessAddress");
            return (Criteria) this;
        }

        public Criteria andBusinessAddressNotBetween(String value1, String value2) {
            addCriterion("business_address not between", value1, value2, "businessAddress");
            return (Criteria) this;
        }

        public Criteria andBusinessBegintimeIsNull() {
            addCriterion("business_begintime is null");
            return (Criteria) this;
        }

        public Criteria andBusinessBegintimeIsNotNull() {
            addCriterion("business_begintime is not null");
            return (Criteria) this;
        }

        public Criteria andBusinessBegintimeEqualTo(Integer value) {
            addCriterion("business_begintime =", value, "businessBegintime");
            return (Criteria) this;
        }

        public Criteria andBusinessBegintimeNotEqualTo(Integer value) {
            addCriterion("business_begintime <>", value, "businessBegintime");
            return (Criteria) this;
        }

        public Criteria andBusinessBegintimeGreaterThan(Integer value) {
            addCriterion("business_begintime >", value, "businessBegintime");
            return (Criteria) this;
        }

        public Criteria andBusinessBegintimeGreaterThanOrEqualTo(Integer value) {
            addCriterion("business_begintime >=", value, "businessBegintime");
            return (Criteria) this;
        }

        public Criteria andBusinessBegintimeLessThan(Integer value) {
            addCriterion("business_begintime <", value, "businessBegintime");
            return (Criteria) this;
        }

        public Criteria andBusinessBegintimeLessThanOrEqualTo(Integer value) {
            addCriterion("business_begintime <=", value, "businessBegintime");
            return (Criteria) this;
        }

        public Criteria andBusinessBegintimeIn(List<Integer> values) {
            addCriterion("business_begintime in", values, "businessBegintime");
            return (Criteria) this;
        }

        public Criteria andBusinessBegintimeNotIn(List<Integer> values) {
            addCriterion("business_begintime not in", values, "businessBegintime");
            return (Criteria) this;
        }

        public Criteria andBusinessBegintimeBetween(Integer value1, Integer value2) {
            addCriterion("business_begintime between", value1, value2, "businessBegintime");
            return (Criteria) this;
        }

        public Criteria andBusinessBegintimeNotBetween(Integer value1, Integer value2) {
            addCriterion("business_begintime not between", value1, value2, "businessBegintime");
            return (Criteria) this;
        }

        public Criteria andBusinessEndtimeIsNull() {
            addCriterion("business_endtime is null");
            return (Criteria) this;
        }

        public Criteria andBusinessEndtimeIsNotNull() {
            addCriterion("business_endtime is not null");
            return (Criteria) this;
        }

        public Criteria andBusinessEndtimeEqualTo(Integer value) {
            addCriterion("business_endtime =", value, "businessEndtime");
            return (Criteria) this;
        }

        public Criteria andBusinessEndtimeNotEqualTo(Integer value) {
            addCriterion("business_endtime <>", value, "businessEndtime");
            return (Criteria) this;
        }

        public Criteria andBusinessEndtimeGreaterThan(Integer value) {
            addCriterion("business_endtime >", value, "businessEndtime");
            return (Criteria) this;
        }

        public Criteria andBusinessEndtimeGreaterThanOrEqualTo(Integer value) {
            addCriterion("business_endtime >=", value, "businessEndtime");
            return (Criteria) this;
        }

        public Criteria andBusinessEndtimeLessThan(Integer value) {
            addCriterion("business_endtime <", value, "businessEndtime");
            return (Criteria) this;
        }

        public Criteria andBusinessEndtimeLessThanOrEqualTo(Integer value) {
            addCriterion("business_endtime <=", value, "businessEndtime");
            return (Criteria) this;
        }

        public Criteria andBusinessEndtimeIn(List<Integer> values) {
            addCriterion("business_endtime in", values, "businessEndtime");
            return (Criteria) this;
        }

        public Criteria andBusinessEndtimeNotIn(List<Integer> values) {
            addCriterion("business_endtime not in", values, "businessEndtime");
            return (Criteria) this;
        }

        public Criteria andBusinessEndtimeBetween(Integer value1, Integer value2) {
            addCriterion("business_endtime between", value1, value2, "businessEndtime");
            return (Criteria) this;
        }

        public Criteria andBusinessEndtimeNotBetween(Integer value1, Integer value2) {
            addCriterion("business_endtime not between", value1, value2, "businessEndtime");
            return (Criteria) this;
        }

        public Criteria andLicenseImgIsNull() {
            addCriterion("license_img is null");
            return (Criteria) this;
        }

        public Criteria andLicenseImgIsNotNull() {
            addCriterion("license_img is not null");
            return (Criteria) this;
        }

        public Criteria andLicenseImgEqualTo(String value) {
            addCriterion("license_img =", value, "licenseImg");
            return (Criteria) this;
        }

        public Criteria andLicenseImgNotEqualTo(String value) {
            addCriterion("license_img <>", value, "licenseImg");
            return (Criteria) this;
        }

        public Criteria andLicenseImgGreaterThan(String value) {
            addCriterion("license_img >", value, "licenseImg");
            return (Criteria) this;
        }

        public Criteria andLicenseImgGreaterThanOrEqualTo(String value) {
            addCriterion("license_img >=", value, "licenseImg");
            return (Criteria) this;
        }

        public Criteria andLicenseImgLessThan(String value) {
            addCriterion("license_img <", value, "licenseImg");
            return (Criteria) this;
        }

        public Criteria andLicenseImgLessThanOrEqualTo(String value) {
            addCriterion("license_img <=", value, "licenseImg");
            return (Criteria) this;
        }

        public Criteria andLicenseImgLike(String value) {
            addCriterion("license_img like", value, "licenseImg");
            return (Criteria) this;
        }

        public Criteria andLicenseImgNotLike(String value) {
            addCriterion("license_img not like", value, "licenseImg");
            return (Criteria) this;
        }

        public Criteria andLicenseImgIn(List<String> values) {
            addCriterion("license_img in", values, "licenseImg");
            return (Criteria) this;
        }

        public Criteria andLicenseImgNotIn(List<String> values) {
            addCriterion("license_img not in", values, "licenseImg");
            return (Criteria) this;
        }

        public Criteria andLicenseImgBetween(String value1, String value2) {
            addCriterion("license_img between", value1, value2, "licenseImg");
            return (Criteria) this;
        }

        public Criteria andLicenseImgNotBetween(String value1, String value2) {
            addCriterion("license_img not between", value1, value2, "licenseImg");
            return (Criteria) this;
        }

        public Criteria andLicenseNumIsNull() {
            addCriterion("license_num is null");
            return (Criteria) this;
        }

        public Criteria andLicenseNumIsNotNull() {
            addCriterion("license_num is not null");
            return (Criteria) this;
        }

        public Criteria andLicenseNumEqualTo(String value) {
            addCriterion("license_num =", value, "licenseNum");
            return (Criteria) this;
        }

        public Criteria andLicenseNumNotEqualTo(String value) {
            addCriterion("license_num <>", value, "licenseNum");
            return (Criteria) this;
        }

        public Criteria andLicenseNumGreaterThan(String value) {
            addCriterion("license_num >", value, "licenseNum");
            return (Criteria) this;
        }

        public Criteria andLicenseNumGreaterThanOrEqualTo(String value) {
            addCriterion("license_num >=", value, "licenseNum");
            return (Criteria) this;
        }

        public Criteria andLicenseNumLessThan(String value) {
            addCriterion("license_num <", value, "licenseNum");
            return (Criteria) this;
        }

        public Criteria andLicenseNumLessThanOrEqualTo(String value) {
            addCriterion("license_num <=", value, "licenseNum");
            return (Criteria) this;
        }

        public Criteria andLicenseNumLike(String value) {
            addCriterion("license_num like", value, "licenseNum");
            return (Criteria) this;
        }

        public Criteria andLicenseNumNotLike(String value) {
            addCriterion("license_num not like", value, "licenseNum");
            return (Criteria) this;
        }

        public Criteria andLicenseNumIn(List<String> values) {
            addCriterion("license_num in", values, "licenseNum");
            return (Criteria) this;
        }

        public Criteria andLicenseNumNotIn(List<String> values) {
            addCriterion("license_num not in", values, "licenseNum");
            return (Criteria) this;
        }

        public Criteria andLicenseNumBetween(String value1, String value2) {
            addCriterion("license_num between", value1, value2, "licenseNum");
            return (Criteria) this;
        }

        public Criteria andLicenseNumNotBetween(String value1, String value2) {
            addCriterion("license_num not between", value1, value2, "licenseNum");
            return (Criteria) this;
        }

        public Criteria andLicenseAddressIsNull() {
            addCriterion("license_address is null");
            return (Criteria) this;
        }

        public Criteria andLicenseAddressIsNotNull() {
            addCriterion("license_address is not null");
            return (Criteria) this;
        }

        public Criteria andLicenseAddressEqualTo(String value) {
            addCriterion("license_address =", value, "licenseAddress");
            return (Criteria) this;
        }

        public Criteria andLicenseAddressNotEqualTo(String value) {
            addCriterion("license_address <>", value, "licenseAddress");
            return (Criteria) this;
        }

        public Criteria andLicenseAddressGreaterThan(String value) {
            addCriterion("license_address >", value, "licenseAddress");
            return (Criteria) this;
        }

        public Criteria andLicenseAddressGreaterThanOrEqualTo(String value) {
            addCriterion("license_address >=", value, "licenseAddress");
            return (Criteria) this;
        }

        public Criteria andLicenseAddressLessThan(String value) {
            addCriterion("license_address <", value, "licenseAddress");
            return (Criteria) this;
        }

        public Criteria andLicenseAddressLessThanOrEqualTo(String value) {
            addCriterion("license_address <=", value, "licenseAddress");
            return (Criteria) this;
        }

        public Criteria andLicenseAddressLike(String value) {
            addCriterion("license_address like", value, "licenseAddress");
            return (Criteria) this;
        }

        public Criteria andLicenseAddressNotLike(String value) {
            addCriterion("license_address not like", value, "licenseAddress");
            return (Criteria) this;
        }

        public Criteria andLicenseAddressIn(List<String> values) {
            addCriterion("license_address in", values, "licenseAddress");
            return (Criteria) this;
        }

        public Criteria andLicenseAddressNotIn(List<String> values) {
            addCriterion("license_address not in", values, "licenseAddress");
            return (Criteria) this;
        }

        public Criteria andLicenseAddressBetween(String value1, String value2) {
            addCriterion("license_address between", value1, value2, "licenseAddress");
            return (Criteria) this;
        }

        public Criteria andLicenseAddressNotBetween(String value1, String value2) {
            addCriterion("license_address not between", value1, value2, "licenseAddress");
            return (Criteria) this;
        }

        public Criteria andLicenseBegintimeIsNull() {
            addCriterion("license_begintime is null");
            return (Criteria) this;
        }

        public Criteria andLicenseBegintimeIsNotNull() {
            addCriterion("license_begintime is not null");
            return (Criteria) this;
        }

        public Criteria andLicenseBegintimeEqualTo(Integer value) {
            addCriterion("license_begintime =", value, "licenseBegintime");
            return (Criteria) this;
        }

        public Criteria andLicenseBegintimeNotEqualTo(Integer value) {
            addCriterion("license_begintime <>", value, "licenseBegintime");
            return (Criteria) this;
        }

        public Criteria andLicenseBegintimeGreaterThan(Integer value) {
            addCriterion("license_begintime >", value, "licenseBegintime");
            return (Criteria) this;
        }

        public Criteria andLicenseBegintimeGreaterThanOrEqualTo(Integer value) {
            addCriterion("license_begintime >=", value, "licenseBegintime");
            return (Criteria) this;
        }

        public Criteria andLicenseBegintimeLessThan(Integer value) {
            addCriterion("license_begintime <", value, "licenseBegintime");
            return (Criteria) this;
        }

        public Criteria andLicenseBegintimeLessThanOrEqualTo(Integer value) {
            addCriterion("license_begintime <=", value, "licenseBegintime");
            return (Criteria) this;
        }

        public Criteria andLicenseBegintimeIn(List<Integer> values) {
            addCriterion("license_begintime in", values, "licenseBegintime");
            return (Criteria) this;
        }

        public Criteria andLicenseBegintimeNotIn(List<Integer> values) {
            addCriterion("license_begintime not in", values, "licenseBegintime");
            return (Criteria) this;
        }

        public Criteria andLicenseBegintimeBetween(Integer value1, Integer value2) {
            addCriterion("license_begintime between", value1, value2, "licenseBegintime");
            return (Criteria) this;
        }

        public Criteria andLicenseBegintimeNotBetween(Integer value1, Integer value2) {
            addCriterion("license_begintime not between", value1, value2, "licenseBegintime");
            return (Criteria) this;
        }

        public Criteria andLicenseEndtimeIsNull() {
            addCriterion("license_endtime is null");
            return (Criteria) this;
        }

        public Criteria andLicenseEndtimeIsNotNull() {
            addCriterion("license_endtime is not null");
            return (Criteria) this;
        }

        public Criteria andLicenseEndtimeEqualTo(Integer value) {
            addCriterion("license_endtime =", value, "licenseEndtime");
            return (Criteria) this;
        }

        public Criteria andLicenseEndtimeNotEqualTo(Integer value) {
            addCriterion("license_endtime <>", value, "licenseEndtime");
            return (Criteria) this;
        }

        public Criteria andLicenseEndtimeGreaterThan(Integer value) {
            addCriterion("license_endtime >", value, "licenseEndtime");
            return (Criteria) this;
        }

        public Criteria andLicenseEndtimeGreaterThanOrEqualTo(Integer value) {
            addCriterion("license_endtime >=", value, "licenseEndtime");
            return (Criteria) this;
        }

        public Criteria andLicenseEndtimeLessThan(Integer value) {
            addCriterion("license_endtime <", value, "licenseEndtime");
            return (Criteria) this;
        }

        public Criteria andLicenseEndtimeLessThanOrEqualTo(Integer value) {
            addCriterion("license_endtime <=", value, "licenseEndtime");
            return (Criteria) this;
        }

        public Criteria andLicenseEndtimeIn(List<Integer> values) {
            addCriterion("license_endtime in", values, "licenseEndtime");
            return (Criteria) this;
        }

        public Criteria andLicenseEndtimeNotIn(List<Integer> values) {
            addCriterion("license_endtime not in", values, "licenseEndtime");
            return (Criteria) this;
        }

        public Criteria andLicenseEndtimeBetween(Integer value1, Integer value2) {
            addCriterion("license_endtime between", value1, value2, "licenseEndtime");
            return (Criteria) this;
        }

        public Criteria andLicenseEndtimeNotBetween(Integer value1, Integer value2) {
            addCriterion("license_endtime not between", value1, value2, "licenseEndtime");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Byte value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Byte value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Byte value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Byte value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Byte value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Byte value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Byte> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Byte> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Byte value1, Byte value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Byte value1, Byte value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andAddTimeIsNull() {
            addCriterion("add_time is null");
            return (Criteria) this;
        }

        public Criteria andAddTimeIsNotNull() {
            addCriterion("add_time is not null");
            return (Criteria) this;
        }

        public Criteria andAddTimeEqualTo(Date value) {
            addCriterion("add_time =", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeNotEqualTo(Date value) {
            addCriterion("add_time <>", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeGreaterThan(Date value) {
            addCriterion("add_time >", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("add_time >=", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeLessThan(Date value) {
            addCriterion("add_time <", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeLessThanOrEqualTo(Date value) {
            addCriterion("add_time <=", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeIn(List<Date> values) {
            addCriterion("add_time in", values, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeNotIn(List<Date> values) {
            addCriterion("add_time not in", values, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeBetween(Date value1, Date value2) {
            addCriterion("add_time between", value1, value2, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeNotBetween(Date value1, Date value2) {
            addCriterion("add_time not between", value1, value2, "addTime");
            return (Criteria) this;
        }

        public Criteria andEditTimeIsNull() {
            addCriterion("edit_time is null");
            return (Criteria) this;
        }

        public Criteria andEditTimeIsNotNull() {
            addCriterion("edit_time is not null");
            return (Criteria) this;
        }

        public Criteria andEditTimeEqualTo(Date value) {
            addCriterion("edit_time =", value, "editTime");
            return (Criteria) this;
        }

        public Criteria andEditTimeNotEqualTo(Date value) {
            addCriterion("edit_time <>", value, "editTime");
            return (Criteria) this;
        }

        public Criteria andEditTimeGreaterThan(Date value) {
            addCriterion("edit_time >", value, "editTime");
            return (Criteria) this;
        }

        public Criteria andEditTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("edit_time >=", value, "editTime");
            return (Criteria) this;
        }

        public Criteria andEditTimeLessThan(Date value) {
            addCriterion("edit_time <", value, "editTime");
            return (Criteria) this;
        }

        public Criteria andEditTimeLessThanOrEqualTo(Date value) {
            addCriterion("edit_time <=", value, "editTime");
            return (Criteria) this;
        }

        public Criteria andEditTimeIn(List<Date> values) {
            addCriterion("edit_time in", values, "editTime");
            return (Criteria) this;
        }

        public Criteria andEditTimeNotIn(List<Date> values) {
            addCriterion("edit_time not in", values, "editTime");
            return (Criteria) this;
        }

        public Criteria andEditTimeBetween(Date value1, Date value2) {
            addCriterion("edit_time between", value1, value2, "editTime");
            return (Criteria) this;
        }

        public Criteria andEditTimeNotBetween(Date value1, Date value2) {
            addCriterion("edit_time not between", value1, value2, "editTime");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}